﻿/*
 * 具体的音频数据存放在 Data 字段
 */

using System;
using System.Runtime.Serialization;

namespace RIFF.Chunk
{
    [Serializable]
    internal class ChunkIdException : ChunkException
    {
        public ChunkIdException()
        {
        }

        public ChunkIdException(string? message) : base(message)
        {
        }

        public ChunkIdException(string expect, string real) : base($"期望 '{expect}', 实际 '{real}'")
        {
        }

        public ChunkIdException(string? message, Exception? innerException) : base(message, innerException)
        {
        }

        protected ChunkIdException(SerializationInfo info, StreamingContext context) : base(info, context)
        {
        }
    }
}